package com.zhentao.tot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 自媒体用户信息对象 wm_user
 * 
 * @author ruoyi
 * @date 2025-04-18
 */
public class WmUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** app用户id */
    @Excel(name = "app用户id")
    private Integer apUserId;

    /** app作者id */
    @Excel(name = "app作者id")
    private Integer apAuthorId;

    /** 登录用户名 */
    @Excel(name = "登录用户名")
    private String name;

    /** 登录密码 */
    @Excel(name = "登录密码")
    private String password;

    /** 盐 */
    @Excel(name = "盐")
    private String salt;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 头像 */
    @Excel(name = "头像")
    private String image;

    /** 归属地 */
    @Excel(name = "归属地")
    private String location;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setApUserId(Integer apUserId) 
    {
        this.apUserId = apUserId;
    }

    public Integer getApUserId() 
    {
        return apUserId;
    }

    public void setApAuthorId(Integer apAuthorId) 
    {
        this.apAuthorId = apAuthorId;
    }

    public Integer getApAuthorId() 
    {
        return apAuthorId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setSalt(String salt) 
    {
        this.salt = salt;
    }

    public String getSalt() 
    {
        return salt;
    }

    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("apUserId", getApUserId())
            .append("apAuthorId", getApAuthorId())
            .append("name", getName())
            .append("password", getPassword())
            .append("salt", getSalt())
            .append("nickname", getNickname())
            .append("image", getImage())
            .append("location", getLocation())
            .toString();
    }
}
